You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Methods > Copy Method > Vector.Copy Method ([In] TMtxVec, [In] TMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.Copy Method ([In] TMtxVec, [In] TMtxVec)

Copies values from Vec1 and Vec2 (concatenate).

Syntax
C#
Visual Basic
public TVec Copy([In] TMtxVec Vec1, [In] TMtxVec Vec2);

Copy each of Vec1 and Vec2 elements to the calling vector (concatenate). The Length and Complex properties of the calling vector are set implicitly to match Vec1 and Vec2 vector.

var a,b,c: Vector; begin a.SetIt(True,[1,2,3,4]); b.Copy(a); c.Copy(a,b); //concatenate a and b and store in c // c = [1,2,3,4,1,2,3,4] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!